export default [
  {
    path: "/accessHome",
    name: "accessHome",
    icon: "accessHome.png",
    component: "./Home/Home",
    authority: ["qaStatistics"],
  },
  {
    path:'/access/sessionRecords',
    name: 'sessionRecords',
    component: './DataStatistics/SessionRecords/index',
    authority: ['sessionRecords'],
    icon: "pie-chart",
  },
  {
    path: "/access/answerRecords",
    name: "answerRecords",
    component: "./DataStatistics/answerRecords/Index",
    authority: ["answerRecords"],
    icon: "pie-chart",
  },
  {
    path: "/access/APIStatistics",
    name: "APIStatistics",
    component: "./DataStatistics/APIStatistics/index",
    authority: ["APIStatistics"],
    icon: "pie-chart",
  },

  {
    path: "/knowledgeStatistics",
    name: "knowledgeStatistics",
    authority: [
      "knowledgeStatistics",
      "formStatistics",
      "docStatistics",
      "answerdetailstatistics",
      "atlasStatistics",
      "dialogStatistics"
    ],
    icon: "pie-chart",
    routes:[
      {
				path: "/knowledgeStatistics/formStatistics",
				name: "formStatistics",
				component: "./DataStatistics/FormStatistics/index",
				authority: ["formStatistics"],
			},
      {
				path: "/knowledgeStatistics/docdetailstatis",
				name: "docdetailstatis",
				component: "./DataStatistics/DocDetailStatis/Index",
				authority: ["docStatistics"],
			},
      {
				path: "/knowledgeStatistics/answerdetailstatis",
				name: "answerdetailstatis",
				component: "./DataStatistics/AnswerDetailStatis/Index",
				authority: ["answerdetailstatistics"],
			},
      {
				path: "/knowledgeStatistics/atlasStatistics",
				name: "atlasStatistics",
				component: "./DataStatistics/AtlasStatistics/atlasStatistics",
				authority: ["atlasStatistics"],
			},
			{
				path: "/knowledgeStatistics/dialogStatistics",
				name: "dialogStatistics",
				component: "./DataStatistics/DialogStatistics/index",
				authority: ["dialogStatistics"],
			},
    ]
  },
]